package java67_adv4;

import java.util.HashSet;
import java.util.Set;

import review.KindMan;

public class SetTest2 {

	public static void main(String[] args) {
		Set set = new HashSet();

		System.out.println(">>>>>>>>>>>>>>>");
		set.add(new KindMan("雷锋"));
		set.add(new KindMan("lvdongbing", 32));
		System.out.println(set);
		boolean r = set.remove("雷锋");/// !
		System.out.println("删除的结果是:" + r);
		System.out.println(set);
		set.remove(new KindMan("雷锋"));
	}

}
